<template>
  <basic-container>
    <avue-crud :option="option" :data="data">
      <template slot="menu" slot-scope="{}">

        <router-link :to="{path:'/data/park'}">
          <el-button type="text" size="small">园区列表</el-button>
        </router-link>
        <router-link :to="{path:'/data/company'}">
          <el-button type="text" size="small">公司列表</el-button>
        </router-link>
      </template>
    </avue-crud>
  </basic-container>
</template>

<script>
export default {
  data() {
    return {
      data: [
        {
          name: '奎文区',
          ycount: 32,
          wcount: 100,
          rcount: 295,
          pcount: 100,
          phjrzs: 89,
          qygx: 57,
          zhyw: 49
        },
        {
          name: '高新区',
          ycount: 49,
          wcount: 100,
          rcount: 387,
          pcount: 100,
          phjrzs: 78,
          qygx: 69,
          zhyw: 59
        },
        {
          name: '潍城区',
          ycount: 36,
          wcount: 100,
          rcount: 396,
          pcount: 100,
          phjrzs: 68,
          qygx: 73,
          zhyw: 79
        },
        {
          name: '寒亭区',
          ycount: 27,
          wcount: 100,
          rcount: 215,
          pcount: 100,
          phjrzs: 61,
          qygx: 66,
          zhyw: 67
        },
        {
          name: '坊子区',
          ycount: 16,
          wcount: 100,
          rcount: 129,
          pcount: 100,
          phjrzs: 58,
          qygx: 33,
          zhyw: 27
        }
      ],
      option: {
        addBtn: false,
        editBtn: false,
        delBtn: false,
        align: 'center',
        column: [
          {
            label: '区域名称',
            prop: 'name',
            search: true
          },
          {
            label: '园区总数',
            prop: 'ycount'
          },

          {
            width: 120,
            label: '普惠金融指数',
            prop: 'phjrzs'
          },
          {
            width: 120,
            label: '企业贡献指数',
            prop: 'qygx'
          },
          {
            width: 200,
            label: '综合业务饱和度指数',
            prop: 'zhyw'
          },
          {
            label: '入驻公司总数',
            prop: 'rcount'
          }
        ]
      }
    }
  }
}
</script>

<style>
</style>
